package com.simple.common.constant;

/**
 * @Description 正则表达式集
 * @Author xiaoke
 * @Date 2024/8/10 18:00
 * @Version 1.0
 */
public class BaseMatches {

    //身份证正则表达式
    public static final String idCardMatches = "[1-9]\\d{5}((19[2-9]\\d)|(20[0-1]\\d))((0[1-9])|1[0-2])((0[1-9])|(1\\d)|(2\\d)|(3[0-1]))\\d{3}(\\d|x|X)";
    //手机号正则表达式
    public static final String phoneMatches = "1[3-9]\\d{9}";
}
